﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entity
{
    public class CloseGameRequest
    {
        public string UserName { get; set; }
        public string TableID { get; set; }

        public CloseGameBIRequest FromDto()
        {
            CloseGameBIRequest request = new CloseGameBIRequest();
            request.TableID = TableID;
            request.UserName = UserName;
            return request;
        }
        public List<string> Log()
        {
            List<string> result = new List<string>();
            result.Add("Method: Closing game - Request");
            result.Add("Request by: " + UserName);
            result.Add("Table ID: " + TableID);
            return result;
        }
    }
}
